from groupgrading.grading import models
from django.contrib import admin

class AssignAdmin(admin.ModelAdmin):
    # ...
    list_display = ('name',)

admin.site.register(models.Assignments, AssignAdmin)
admin.site.register(models.Grades)
admin.site.register(models.GradeWeight)
admin.site.register(models.UserProfile)

class SubmitAdmin(admin.ModelAdmin):
    # ...
    list_display = ('student','assignment','timeSubmitted', )

admin.site.register(models.Submissions, SubmitAdmin)
